package com.miplus.ccrm.core.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.miplus.ccrm.core.pojo.CfgActivity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author pc
* @description 针对表【cfg_activity(自动分案管理表)】的数据库操作Mapper
* @createDate 2024-03-22 17:43:40
* @Entity com.miplus.ccrm.core.pojo.CfgActivity
*/
@Mapper
public interface CfgActivityMapper extends MPJBaseMapper<CfgActivity> {
    List<Integer> getMaxRank();

    int updateRank(Integer activityid,Integer rank);

    CfgActivity activitySelectOne(Integer activityid);

    int updateRankAsc(Integer rankold,Integer rank);
}




